package com.tjetc.service;

import com.tjetc.pojo.dto.HistoryDTO;
import com.tjetc.pojo.dto.UserDTO;

/**
 * @Author: itda
 * @Date: 2024/5/10 19:47
 * @Description: UserService
 */
public interface UserService {
    /**
     * 用户登录
     * @param userDTO
     */
    void login(UserDTO userDTO) throws Exception;

    /**
     * 用户注册
     * @param userDTO
     */
    void register(UserDTO userDTO);

    /**
     * 用户历史订单
     */
    void historicalOrders(HistoryDTO historyDTO);

    /**
     * 取消预订
     */
    void checkOutRoom();
}
